package com.symaster.common.geom.show.node.event;

import com.symaster.common.geom.show.node.enumerate.SelectTypeEnum;

/**
 * @author yinmiao
 * @version 2023/7/7
 */
public class SelectEvent {

    private final SelectTypeEnum type;

    public SelectEvent(SelectTypeEnum type) {
        this.type = type;
    }

    public static SelectEvent of(SelectTypeEnum type) {
        return new SelectEvent(type);
    }

    public SelectTypeEnum getType() {
        return type;
    }
}
